﻿/**
 * ...
 * @author sminutoli
 */
import com.dmotiko.meip.*
import mx.transitions.easing.*;
import mx.transitions.*;
 
class com.dmotiko.meip.HomeSection extends Section
{
	
	private function initClip():Void {
		super.initClip();
		play();
	}
	
	public function show():Void {
		if ( bShowed ) return;
		this._visible = true;
		registerTween( "fade", new Tween( this,  "_alpha", Regular.easeOut, this._alpha, 100, 0.5, true), false, true );
	}
	
	public function hide():Void {
		if ( !bShowed ) return;
		registerTween( "fade", new Tween( this,  "_alpha", Regular.easeOut, this._alpha, 0, 0.5, true), false, true );
	}
	
}